//
//  CSNValidator.h
//  HPZZTong
//
//  Created by WenJun on 14-7-16.
//  Copyright (c) 2014年 Handpay. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HPBaseSwiper.h"

#define LocationErrMsg  @"定位失败"
#define LocationErrMsg2  @"请打开地理位置服务"

@interface CSNValidator : NSObject

+ (void)validateCSNAndExcuteBlock:(SwiperComplete)block autoTip:(BOOL)tip;

+ (void)checkCSNStatus:(SwiperComplete)block autoTip:(BOOL)tip;

+ (BOOL)isRunning;

+ (void)bindCSN:(NSString*)csn;

+ (NSString *)getLocation;

+ (NSString *)getAddress;

+ (void)clearData;


@end
